home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 2.1 KB | 73 lines | [TEXT/MPS ] |
- ;
- ; File: Folders.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__FOLDERS__') = 'UNDEFINED' THEN
- __FOLDERS__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- IF &TYPE('__FILES__') = 'UNDEFINED' THEN
- include 'Files.a'
- ENDIF
- ; include 'MixedMode.a' ;
- ; include 'OSUtils.a' ;
- ; include 'Memory.a' ;
-
- kOnSystemDisk EQU $8000
- kCreateFolder EQU true
- kDontCreateFolder EQU false
- kSystemFolderType EQU 'macs' ; the system folder
- kDesktopFolderType EQU 'desk' ; the desktop folder; objects in this folder show on the desk top.
- kTrashFolderType EQU 'trsh' ; the trash folder; objects in this folder show up in the trash
- kWhereToEmptyTrashFolderType EQU 'empt' ; the "empty trash" folder; Finder starts empty from here down
- kPrintMonitorDocsFolderType EQU 'prnt' ; Print Monitor documents
- kStartupFolderType EQU 'strt' ; Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
- kAppleMenuFolderType EQU 'amnu' ; Finder objects to put into the Apple menu go here
- kControlPanelFolderType EQU 'ctrl' ; Control Panels go here (may contain INITs)
- kExtensionFolderType EQU 'extn' ; Finder extensions go here
- kFontsFolderType EQU 'font' ; Fonts go here
- kPreferencesFolderType EQU 'pref' ; preferences for applications go here
- kTemporaryFolderType EQU 'temp'
-
- IF SystemSevenOrLater THEN
- IF GENERATING68K THEN
- Macro
- _FindFolder
- moveq #0,d0
- dc.w $A823
- EndM
- ELSE
- IMPORT FindFolder
- ENDIF
-
- ELSE
- ENDIF
- IF GENERATING68K THEN
- Macro
- _ReleaseFolder
- moveq #11,d0
- dc.w $A823
- EndM
- ELSE
- IMPORT ReleaseFolder
- ENDIF
-
- ENDIF ; __FOLDERS__
-